#ifndef DNDICTIONARYDLG_H
#define DNDICTIONARYDLG_H

#include "precomp.h"

//#include <QDialog>
//#include <QWidget>
//#include <QPlainTextEdit>
#include "customtreecontrol.h"

class TDomain ;

class DnDictionaryDlg : public QDialog
{
    Q_OBJECT
public:
    explicit DnDictionaryDlg(QWidget *parent = nullptr);
    ~DnDictionaryDlg();
    TDomain *m_tDomain;
    CustomTreeControl *m_customTreeCtrl;
    QPlainTextEdit  *m_text;
    QPushButton *m_btnSava,*m_btnClear,*m_btnClose;
    int m_idx =-1;
private slots:
    void slotShowDnDictVal(int idx);
    void slotSave();
    void slotClear();
    void slotClose();
    void slotDelete(int idx);
};

#endif // DNDICTIONARYDLG_H
